package com.ude.pim.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author yb
 * @since 2023-08-25
 */
@Getter
@Setter
@TableName("pim_case_sub_comment")
public class CaseSubComment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 专案子流程id
     */
    @TableField("case_sub_id")
    private Long caseSubId;

    /**
     * 评论内容
     */
    @TableField("content")
    private String content;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 评论创建人
     */
    @TableField("create_user")
    private Long createUser;

    /**
     * 审核时间
     */
    @TableField("check_time")
    private LocalDateTime checkTime;

    /**
     * 审核人
     */
    @TableField("check_user")
    private Long checkUser;

    /**
     * 状态	0：未审核	1：已审核	2:  审核未通过
     */
    @TableField("status")
    private Integer status;

    /**
     * 审核失败原因
     */
    @TableField("reason")
    private String reason;
}
